From 43ea72e6eb092b42690ad6b43b84d4747d2ab8fb Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Thu, 3 May 2007 13:36:06 -0600 Subject: [PATCH] [IA64] Support debug_keys on ia64 This patch adds support for xm debugkeys. Signed-off-by: Akio Takebe --- linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c index dc1012a0f6..7c67373ccc 100644 --- a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c @@ -172,6 +172,15 @@ xencomm_privcmd_sysctl(privcmd_hypercall_t *hypercall) set_xen_guest_handle(kern_op.u.getdomaininfolist.buffer, (void *)desc); break; + case XEN_SYSCTL_debug_keys: + ret = xencomm_create( + xen_guest_handle(kern_op.u.debug_keys.keys), + kern_op.u.debug_keys.nr_keys, + &desc, GFP_KERNEL); + set_xen_guest_handle(kern_op.u.debug_keys.keys, + (void *)desc); + break; + #ifdef IA64_NUMA_PHYSINFO case XEN_SYSCTL_physinfo: ret = xencomm_create( -- 2.30.2